﻿using System;
using System . Collections . Generic;
using System . Linq;
using System . Text;

namespace WenceyWang . RichMan4L . Maps . Buildings
{
	[AttributeUsage ( AttributeTargets . Class , Inherited = true , AllowMultiple = false )]
	public sealed class BuildingAttribute : Attribute
	{
		public string Name { get; private set; }

		public MapSize Size { get; private set; }

		public long StartBuildingPrice { get; private set; }

		public BuildingAttribute ( string name , int sizeX , int sizeY , long startBuildingPrice )
		{
			Name = name;
			Size = new MapSize ( sizeX , sizeY );
			StartBuildingPrice = startBuildingPrice;
		}

	}
}
